package com.umpay.dto.merBusi.req.quickpayment;

import org.hibernate.validator.constraints.NotEmpty;

import com.umpay.annotation.Pattern;
import com.umpay.dto.merBusi.req.CommonBusiReq;

public class QuickPaymentOrderBusiReq  extends CommonBusiReq{

	/**
	 * 商户号
	 */
	@NotEmpty(message = "商户号不能为空")
	@Pattern(message="商户号格式不正确")
	private String merId;
	
	/**
	 * 服务器异步通知路径
	 */
	@Pattern(message = "服务器异步通知路径格式不正确")
	private String notifyUrl;
	
	/**
	 * 商户流水号
	 */
	@NotEmpty(message = "商户流水号不能为空")
	@Pattern(message = "商户流水号格式不正确")
	private String merTrace;
	
	/**
	 * 联动订单号
	 */
	@NotEmpty(message = "联动订单号不能为空")
	@Pattern(message = "联动订单号格式不正确")
	private String tradeNo;
	
	/**
	 * 支付金额
	 */
	@NotEmpty(message = "支付金额不能为空")
	@Pattern(message = "支付金额格式不正确")
	private String amount;
	
	/**
	 * 商户会员编号
	 */
	@NotEmpty(message = "商户会员编号不能为空")
	@Pattern(message = "商户会员编号格式不正确")
	private String merCustId;
	
	/**
	 * 卡类型
	 */
	@Pattern(message = "卡类型格式不正确")
	private String cardType;
	
	/**
	 * 支付银行
	 */
	@Pattern(message = "支付银行编号格式不正确")
	private String gateId;
	
	/**
	 * 卡号
	 */
	@Pattern(message = "卡号格式不正确")
	private String cardId;
	
	/**
	 * 支付协议号
	 */
	@Pattern(message = "支付协议号格式不正确")
	private String pAgreementId;
	
	/**
	 * 备注信息
	 */
	@Pattern(message = "备注信息格式不正确")
	private String remark;
	
	/**
	 * 业务产品号
	 */
	@NotEmpty(message = " 业务产品号不能为空")
	@Pattern(message = " 业务产品号格式不正确")
	private String bProductId;

	public String getMerId() {
		return merId;
	}

	public void setMerId(String merId) {
		this.merId = merId;
	}

	public String getNotifyUrl() {
		return notifyUrl;
	}

	public void setNotifyUrl(String notifyUrl) {
		this.notifyUrl = notifyUrl;
	}

	public String getMerTrace() {
		return merTrace;
	}

	public void setMerTrace(String merTrace) {
		this.merTrace = merTrace;
	}

	public String getTradeNo() {
		return tradeNo;
	}

	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}

	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public String getMerCustId() {
		return merCustId;
	}

	public void setMerCustId(String merCustId) {
		this.merCustId = merCustId;
	}

	public String getCardType() {
		return cardType;
	}

	public void setCardType(String cardType) {
		this.cardType = cardType;
	}

	public String getGateId() {
		return gateId;
	}

	public void setGateId(String gateId) {
		this.gateId = gateId;
	}

	public String getCardId() {
		return cardId;
	}

	public void setCardId(String cardId) {
		this.cardId = cardId;
	}

	public String getpAgreementId() {
		return pAgreementId;
	}

	public void setpAgreementId(String pAgreementId) {
		this.pAgreementId = pAgreementId;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getbProductId() {
		return bProductId;
	}

	public void setbProductId(String bProductId) {
		this.bProductId = bProductId;
	}

	@Override
	public String toString() {
		return "QuickPaymentOrderBusiReq [merId=" + merId + ", notifyUrl=" + notifyUrl + ", merTrace=" + merTrace
				+ ", tradeNo=" + tradeNo + ", amount=" + amount + ", merCustId=" + merCustId + ", cardType=" + cardType
				+ ", gateId=" + gateId + ", cardId=" + cardId + ", pAgreementId=" + pAgreementId + ", remark=" + remark
				+ ", bProductId=" + bProductId + ", rpid=" + rpid + ", version=" + version + ", reqDate=" + reqDate
				+ ", reqTime=" + reqTime + "]";
	}
}
